UndoGroup<T> Class
Assembly: Topten.RichTextKit.dll
Namespace: Topten.RichTextKit.Utils
Implements an Undo unit that groups other units into a single operation
public class UndoGroup<T> : UndoUnit<T>
Inheritance
UndoGroup<T> → UndoUnit<T> → object
Type Parameters
T | The document context type |
Constructors
UndoGroup(string) | Constructs a new UndoGroup with a description |
Properties
LastUnit | Gets the last UndoUnit in this group |
Units | Get the list of units in this group |
Methods
Add(UndoUnit<T>) | Adds a unit to this group |
Insert(int, UndoUnit<T>) | Inserts an unit to this group |
OnClose(T) | Notifies this group that it's been closed |
OnOpen(T) | Notifies this group that it's been opened |
Overridden & Inherited
Description | Gets the description of this undo unit |
Do(T) | The method on the UndoGroup class is never called by the UndoManager Never. See OnOpen and OnClose instead which are called as the group is constructed |
Group | Gets or sets the group that owns this undo unit |
Redo(T) | |
Seal() | Informs the unit that no subsequent coalescing operations will be appended to this unit |
Sealed | Checks is this item is sealed |
Undo(T) |